/*
 *代码由框架生成,任何更改都可能导致被代码生成器覆盖
 *如果数据库字段发生变化，请在代码生器重新生成此Model
 */
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using VOL.Entity.SystemModels;

namespace VOL.Entity.DomainModels
{
    [Entity(TableCnName = "原材采购入库",TableName = "purchase_info")]
    public partial class purchase_info:BaseEntity
    {
        /// <summary>
       /// ID
       /// </summary>
       [Key]
       [Display(Name =" ID")]
       [Column(TypeName="int")]
       [Editable(true)]
       [Required(AllowEmptyStrings=false)]
       public int id { get; set; }

       /// <summary>
       ///单号
       /// </summary>
       [Display(Name ="单号")]
       [MaxLength(50)]
       [Column(TypeName="nvarchar(50)")]
       [Editable(true)]
       public string order_number { get; set; }

       /// <summary>
       ///采购编号
       /// </summary>
       [Display(Name ="采购编号")]
       [MaxLength(50)]
       [Column(TypeName="nvarchar(50)")]
       [Editable(true)]
       public string purchase_number { get; set; }

       /// <summary>
       ///状态
       /// </summary>
       [Display(Name ="状态")]
       [MaxLength(20)]
       [Column(TypeName="nvarchar(20)")]
       [Editable(true)]
       public string status { get; set; }

       /// <summary>
       ///仓库
       /// </summary>
       [Display(Name ="仓库")]
       [MaxLength(50)]
       [Column(TypeName="nvarchar(50)")]
       [Editable(true)]
       public string warehouse { get; set; }

       /// <summary>
       ///操作人
       /// </summary>
       [Display(Name ="操作人")]
       [Column(TypeName="nvarchar(20)")]
       [Editable(true)]
       public string Operator { get; set; }

       /// <summary>
       ///创建时间
       /// </summary>
       [Display(Name ="创建时间")]
       [Column(TypeName="datetime")]
       [Editable(true)]
       public DateTime? create_time { get; set; }

       /// <summary>
       ///生效人
       /// </summary>
       [Display(Name ="生效人")]
       [MaxLength(20)]
       [Column(TypeName="nvarchar(20)")]
       [Editable(true)]
       public string effective_person { get; set; }

       /// <summary>
       ///生效时间
       /// </summary>
       [Display(Name ="生效时间")]
       [Column(TypeName="datetime")]
       [Editable(true)]
       public DateTime? effective_time { get; set; }

       /// <summary>
       ///备注
       /// </summary>
       [Display(Name ="备注")]
       [MaxLength(200)]
       [Column(TypeName="nvarchar(200)")]
       [Editable(true)]
       public string remark { get; set; }

       
    }
}